crypto/ed25519/internal/edwards25519/field.Element.Select (method)

13 uses

	crypto/ed25519/internal/edwards25519/field (current package)
		fe.go#L257: func (v *Element) Select(a, b *Element, cond int) *Element {
		fe.go#L294: 	return v.Select(new(Element).Negate(u), u, u.IsNegative())
		fe.go#L412: 	r.Select(rPrime, r, flippedSignSqrt|flippedSignSqrtI)

	crypto/ed25519/internal/edwards25519
		edwards25519.go#L179: 	xx = xx.Select(xxNeg, xx, int(x[31]>>7))
		edwards25519.go#L400: 	v.YplusX.Select(&a.YplusX, &b.YplusX, cond)
		edwards25519.go#L401: 	v.YminusX.Select(&a.YminusX, &b.YminusX, cond)
		edwards25519.go#L402: 	v.Z.Select(&a.Z, &b.Z, cond)
		edwards25519.go#L403: 	v.T2d.Select(&a.T2d, &b.T2d, cond)
		edwards25519.go#L409: 	v.YplusX.Select(&a.YplusX, &b.YplusX, cond)
		edwards25519.go#L410: 	v.YminusX.Select(&a.YminusX, &b.YminusX, cond)
		edwards25519.go#L411: 	v.T2d.Select(&a.T2d, &b.T2d, cond)
		edwards25519.go#L418: 	v.T2d.Select(new(field.Element).Negate(&v.T2d), &v.T2d, cond)
		edwards25519.go#L425: 	v.T2d.Select(new(field.Element).Negate(&v.T2d), &v.T2d, cond)